factoring a perfect square trinomial with fractions